package com.gdyx.app.web.dao;

import com.gdyx.app.web.model.MpsRoleOpt;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * Created by Y_Coffee on 2017/8/4.
 */
@Mapper
public interface MpsRoleOptDao extends BaseDao {
    void deleteByRid(String id);

    void deleteByOptId(String id);

    MpsRoleOpt findMpsRoleOptById(String id);

    List<MpsRoleOpt> findMpsRoleOpts(Map<String, Object> map);

    List<MpsRoleOpt> findMpsRoleOptByRid(String roleId);
}
